projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd3f02
)
(xic_set_preeditarea): Add the left fringe width to spot.x.
author
Kenichi Handa
<handa@m17n.org>
Mon, 28 Jul 2003 13:05:14 +0000
(13:05 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 28 Jul 2003 13:05:14 +0000
(13:05 +0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index b4545c659f81c0af772da148b7bdd671778b0363..4ce7dec41d7227ccb1d23360a950e087d7396128 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-2475,7
+2475,7
@@
xic_set_preeditarea (w, x, y)
XVaNestedList attr;
XPoint spot;
- spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x);
+ spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x)
+ WINDOW_LEFT_FRINGE_WIDTH (w)
;
spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f));
attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL);
XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL);